package com.ruoyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.domain.DeviceDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceDetailsMapper extends BaseMapper<DeviceDetails> {

    int addDeviceData(DeviceDetails deviceDetails);

    List<DeviceDetails> getList(@Param("status") int status, @Param("connectStatus") int connectStatus);

    int updataConnectStatus(DeviceDetails deviceDetails);
}
